import isFunction from "./isFunction"

export default function isFunctionComponent (virtualDOM, container){
    let type = virtualDOM.type
    return type && isFunction(virtualDOM) && !(type.prototype && type.prototype.render)
}